﻿// -----------------------------------------------------------------------
// <copyright file="Cubicle.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace Cubezicles
{
    using System;
    using Microsoft.Xna.Framework;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Cubicle : PlaceableGameComponent
    {
        // still not perfectly centered, but oh well...
        const String ModelName = "Models/cubicleCentered"; //"Models/Employees/Dev/cubicle";

        public int employeeOwnerID; // testing as public not private...lizz

        public Employee Employee
        {
            get { return Game1.EmployeeManager.Employees[employeeOwnerID]; }
        }

        public Cubicle(Game1 game, Vector3 position, int employeeID) : base(game, position, ModelName)
        {
            this.DrawOrder = (int)Game1.DisplayOrder.Objects;
            
            employeeOwnerID = employeeID;

            // Blow up to 3x the loaded size... doesn't this also call in base constructor...?
            Scaling = Vector3.One * 3;
        }
    }
}
